#ifndef DECORATOR_H
#define DECORATOR_H

#include "component.h"
#include <memory>
class Decorator : public Component
{
public:
    Decorator();
    ~Decorator();

protected:
    std::shared_ptr<Component> m_component;
public:
    Decorator(std::shared_ptr<Component> component);
    void operation() override;
};

#endif // DECORATOR_H
